#include "DynMovable.h"

void DynMovable::MoveLeft(float s)
{
	objSprite.Move(-speed * s,0);
}
void DynMovable::MoveUp(float s)
{
	objSprite.Move(0,-speed * s);
}

void DynMovable::MoveDown(float s)
{
	objSprite.Move(0,speed * s);
}

void DynMovable::MoveRight(float s)
{
	objSprite.Move(speed * s,0);
}
DynMovable::DynMovable()
{
	speed = 0;
}
DynMovable::DynMovable(int spd)
{
	speed = spd;
}
